package com.ease.platform.access.callback;

import java.util.List;

import com.ease.model.Model;

/**
 * 
 * @author nathanleewei
 * 
 */
public interface AppendSupplierEntityCallback<T extends Model, S extends Model> {

	long getSupplierEntityId(T model);

	List<S> findSupplierEntityByIds(long[] ids);

	void setSupplier(T model, S supplier);
}
